package seafileclient

import (
	"photoPlugIn/config"
)

var URL_LIST = map[string]string{}

const version = "/api2/"

var seafile_addr = ""

func configSerfileURL() {
	seafile_addr = config.CONFIG.PHOTOAddr
	url_header := seafile_addr + version
	//获取token
	URL_LIST["URL_POST_TOKEN"] = url_header + "auth-token/"
	//验证token
	URL_LIST["URL_GET_CHECKTOKEN"] = url_header + "account/info/"
}
